#! /usr/bin/env python
# -*- coding: utf-8 -*-

try:
    import pygtk
    pygtk.require("2.0")
except:
      pass
try:
    import gtk
    import gtk.glade
except:
    print "Error"
    sys.exit(1)

class alert:
    def __init__(self,message):
        warning=gtk.MessageDialog(None,gtk.DIALOG_MODAL,gtk.MESSAGE_WARNING,gtk.BUTTONS_OK,message)
        warning.run()
        warning.destroy()